package com.chenyongjing.design.pattern.visitor.general;

/**
 * @Author chen
 * @Date 2022/12/7 22:21
 */
public class ConcreteElementB implements IELement{
    @Override
    public void accept(IVisitor visitor) {
        visitor.visit(this);
    }

    public String operationB(){
        return this.getClass().getSimpleName();
    }
}
